package com.jingan.nursinghome.regulatory.model;

import android.graphics.Bitmap;

import com.luck.picture.lib.entity.LocalMedia;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 新千分表题目
 * Created by 彭治铭 on 2018/4/3.
 */

public class Topicinfo implements Serializable {

    /**
     * id : 765
     * total_score : 360
     * tid : 1
     * ttitle : 选址：周边环境远离噪声、污染源；救护车、消防车可出入。（不符合标准不得分）
     * topic_score : 6
     * single_item_score : null
     * topic_type : null
     */

    public String id;//题目id
    public Integer total_score;//该套题总分【所有题目的总分】
    public String tid;//题号
    public String ttitle;//题目title(即题目内容)
    public Integer topic_score;//题目分数
    public String single_item_score;//单题总分
    public String topic_type = "1";//题目类型(1为有小题类型),用来判断，有没有子题的题目。1为有小题类型。	2为违法类型
    public String tm_type;//题目类型名称

    public String yid;//服务器，题号

    public String subjectcategory_name;//题目分类

    public Integer position = 0;//下标

    //图片
    public List<LocalMedia> selectList = new ArrayList<>();
    public List<Bitmap> bitmaps = new ArrayList<>();
    public String topic_imgyi;//第一张图片id
    public String topic_imger;//第二张图片id
    public String topic_imgsan;//第三张图片id

    public String topic_imgyiurl;//第一张图片网络url
    public String topic_imgerurl;//第二张图片网络url
    public String topic_imgsanurl;//第三张图片网络url

    public String rectification = "";//整改，现场整改,计划整改。默认是空。
    public String zhengai = "0";//0无整改，1现场整改，2计划整改。对应服务器 sp_type 字段 0不违法  1现场整改  2 计划整改  3违法类型
    public String remark = "";//备注，默认为空

    //历史整改字段
    public String pid;
    public String pscore;//题目得分
    public String typeid;
    public String oid;//敬老院id


    public String getRectification() {
        return rectification;
    }

    public void setRectification(String rectification) {
        this.rectification = rectification;
    }

    public String getZhengai() {
        return zhengai;
    }

    public void setZhengai(String zhengai) {
        this.zhengai = zhengai;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getTtitle() {
        return ttitle;
    }

    public void setTtitle(String ttitle) {
        this.ttitle = ttitle;
    }

    public Integer getTotal_score() {
        return total_score;
    }

    public void setTotal_score(Integer total_score) {
        this.total_score = total_score;
    }

    public Integer getTopic_score() {
        return topic_score;
    }

    public void setTopic_score(Integer topic_score) {
        this.topic_score = topic_score;
    }

    public String getSingle_item_score() {
        return single_item_score;
    }

    public void setSingle_item_score(String single_item_score) {
        this.single_item_score = single_item_score;
    }

    public String getTopic_type() {
        return topic_type;
    }

    public void setTopic_type(String topic_type) {
        this.topic_type = topic_type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getPscore() {
        return pscore;
    }

    public void setPscore(String pscore) {
        this.pscore = pscore;
    }

    public String getTm_type() {
        return tm_type;
    }

    public void setTm_type(String tm_type) {
        this.tm_type = tm_type;
    }

    public List<LocalMedia> getSelectList() {
        return selectList;
    }

    public void setSelectList(List<LocalMedia> selectList) {
        this.selectList = selectList;
    }

    public List<Bitmap> getBitmaps() {
        return bitmaps;
    }

    public void setBitmaps(List<Bitmap> bitmaps) {
        this.bitmaps = bitmaps;
    }

    public String getTopic_imgyi() {
        return topic_imgyi;
    }

    public void setTopic_imgyi(String topic_imgyi) {
        this.topic_imgyi = topic_imgyi;
    }

    public String getTopic_imger() {
        return topic_imger;
    }

    public void setTopic_imger(String topic_imger) {
        this.topic_imger = topic_imger;
    }

    public String getTopic_imgsan() {
        return topic_imgsan;
    }

    public void setTopic_imgsan(String topic_imgsan) {
        this.topic_imgsan = topic_imgsan;
    }

    public String getTopic_imgyiurl() {
        return topic_imgyiurl;
    }

    public void setTopic_imgyiurl(String topic_imgyiurl) {
        this.topic_imgyiurl = topic_imgyiurl;
    }

    public String getTopic_imgerurl() {
        return topic_imgerurl;
    }

    public void setTopic_imgerurl(String topic_imgerurl) {
        this.topic_imgerurl = topic_imgerurl;
    }

    public String getTopic_imgsanurl() {
        return topic_imgsanurl;
    }

    public void setTopic_imgsanurl(String topic_imgsanurl) {
        this.topic_imgsanurl = topic_imgsanurl;
    }

    public String getYid() {
        return yid;
    }

    public void setYid(String yid) {
        this.yid = yid;
    }

    public String getSubjectcategory_name() {
        return subjectcategory_name;
    }

    public void setSubjectcategory_name(String subjectcategory_name) {
        this.subjectcategory_name = subjectcategory_name;
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }
}
